Solid Edge [SEWHD] Electrical Manager stops working. Error in log file: java.net.BindException: Address already in use: NET_Bind

2023-09-19T12:37:51Z
APPLICATION

Summary


Details

When trying to start the Solid Edge Electrical Manager service, it stops immediately.

This error message is observed in the Electrical Manager log file: 

java.net.BindException: Address already in use: NET_Bind

The log files are found at %ELECTRICAL_TEMP%.

Solution

The error message means that there is a port conflict. The Solid Edge Electrical Integration Server (EIS) is an embedded process that starts with the Electrical Manager. The EIS uses a specific port to communicate with the database. The port number the EIS trying to use can be read in the Electrical Manager log file:


When the EIS starts correctly, it writes the following in the log file:

Solid Edge Electrical Integration Server started on non secure port 49901

In this case, the log file doesn't include this message, instead it reports the "Address already in use..." and it causes the Electrical Manager process to stop/crash.

The conflict is caused by another program running on the machine using the same port 49901. Sometimes rebooting the system will fix this as it re-allocates the ports.

There are two ways to fix this issue:

#1: Change the port number in the [SEE install folder]\config\clientprops.xml file. For example, everywhere it says 49901, change to 50901. Choose a port number that it is not in use. After saving the file, re-start the Electrical Manager.

#2: Find out which process is using the port 49901 and stop that.

You can find out by using the Windows tool "Resource Monitor". Select Network tab and search in the Listening Ports panel. Search for the 49901 port and you can find which process is the one using the port:


Once the process that hijacked the EIS port is stopped, re-start Electrical Manager. You may re-start the hijacker process afterwards. It will most likely use a different port.

KB Article ID# PL8749080

Contents

SummaryDetails

Associated Components

APPLICATION: SE_ELECTRICAL